﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;

namespace RunCamlSample.QueryBuilders
{
    /// <summary>
    /// Create By: Nguyen Thanh Tung
    /// </summary>
    public interface IQueryProcceser
    {
        ResultList GetListItems(QueryBuilder query, ViewBuilder viewBuilder, QueryOptionsBuilder options, int? rowLimit);

        string GetRootPath();

        void CreateFolder(IList<string> folders);

        void ExcuteFolder(string[] selectFields, int rowLimit, Action<ResultList> action);

        void UpdateListItem(BatchQueryBuilder query);

        void AddDiscussionBoardItem(NameValueCollection values, string body);

        string GetLocalPath(string path);
    }
}